<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=<device-width>, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">

    </div>
</body>
<script src="https://unpkg.com/vue@next"></script>
<script>
    const myMixin = {
       custom:'myMixin:custom --> Hello mixin',
    }
    const app = Vue.createApp({
        custom: 'app:custom --> Hello Vue.js',
        mixins:[myMixin],
        template: `
       <div>
        {{this.$option.custom}}
        </div>
       `
    })
    app.mixin({
        data(){
            
        }
    })

    
    app.component('component-demo', {
        template:`
        <div>
            {{mixinError}}    
        </div>
        `

    })






    const vm = app.mount("#app");
</script>

</html>